<?php

class Controller_Faq
{
	function init(){
		$template =  Agilet::getTemplate();
		$template->name = 'faq';
	}
	
	function execute($request)
	{
		$db = Mongo_Document::factory('faq') -> collection();

		$items = $db -> find();
		$request -> response = View::render($data = array('items' => $items), $script = 'controller/faq/index.tpl');
	}

}
